package com.cm.caseManagement.dao;

import com.cm.caseManagement.pojo.entity.CmDashboardStatsSnaps;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 统计看板快照Mapper接口
 *
 * @author ruoyi
 * @date 2025-10-05
 */
@Mapper
public interface CmDashboardStatsSnapsMapper
{
    /**
     * 查询统计看板快照
     *
     * @param id 统计看板快照主键
     * @return 统计看板快照
     */
    public CmDashboardStatsSnaps selectCmDashboardStatsSnapsById(Long id);

    /**
     * 查询统计看板快照列表
     *
     * @param cmDashboardStatsSnaps 统计看板快照
     * @return 统计看板快照集合
     */
    public List<CmDashboardStatsSnaps> selectCmDashboardStatsSnapsList(CmDashboardStatsSnaps cmDashboardStatsSnaps);

    /**
     * 新增统计看板快照
     *
     * @param cmDashboardStatsSnaps 统计看板快照
     * @return 结果
     */
    public int insertCmDashboardStatsSnaps(CmDashboardStatsSnaps cmDashboardStatsSnaps);

    /**
     * 修改统计看板快照
     *
     * @param cmDashboardStatsSnaps 统计看板快照
     * @return 结果
     */
    public int updateCmDashboardStatsSnaps(CmDashboardStatsSnaps cmDashboardStatsSnaps);

    /**
     * 删除统计看板快照
     *
     * @param id 统计看板快照主键
     * @return 结果
     */
    public int deleteCmDashboardStatsSnapsById(Long id);

    /**
     * 批量删除统计看板快照
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCmDashboardStatsSnapsByIds(Long[] ids);
}
